[INFO] cloning repository https://github.com/KrisChambers/rs-union-find
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KrisChambers/rs-union-find" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrisChambers%2Frs-union-find", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrisChambers%2Frs-union-find'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6455ead3f9dc0d4aed45c4af646656cd7d279054
[INFO] checking KrisChambers/rs-union-find against master#43a4909ee98ed4d006d9d773f5d94dc58e34f846 for pr-157576
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKrisChambers%2Frs-union-find" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KrisChambers/rs-union-find
[INFO] finished tweaking git repo https://github.com/KrisChambers/rs-union-find
[INFO] tweaked toml for git repo https://github.com/KrisChambers/rs-union-find written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KrisChambers/rs-union-find on toolchain 43a4909ee98ed4d006d9d773f5d94dc58e34f846
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KrisChambers/rs-union-find already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fca4da392d002d179a71ae3788ef1577aea55c23cb9e65095f23c5fccb2b4d4a
[INFO] running `Command { std: "docker" "start" "fca4da392d002d179a71ae3788ef1577aea55c23cb9e65095f23c5fccb2b4d4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fca4da392d002d179a71ae3788ef1577aea55c23cb9e65095f23c5fccb2b4d4a" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fca4da392d002d179a71ae3788ef1577aea55c23cb9e65095f23c5fccb2b4d4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fca4da392d002d179a71ae3788ef1577aea55c23cb9e65095f23c5fccb2b4d4a" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rs-union-find v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `nd`
[INFO] [stdout]   --> src/main.rs:40:24
[INFO] [stdout]    |
[INFO] [stdout] 40 |             .map(|(id, nd)| id)
[INFO] [stdout]    |                        ^^ help: if this is intentional, prefix it with an underscore: `_nd`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/main.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Node<T: Eq + Clone> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_rank` is never used
[INFO] [stdout]   --> src/main.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T: Eq + Clone> Node<T> {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] 16 |     pub fn set_rank(&mut self, rank: usize) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UnionFind` is never constructed
[INFO] [stdout]   --> src/main.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct UnionFind<T: Eq + Clone> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/main.rs:27:12
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl<T: Eq + Clone> UnionFind<T> {
[INFO] [stdout]     | -------------------------------- associated items in this implementation
[INFO] [stdout]  27 |     pub fn new() -> UnionFind<T> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  35 |     pub fn make_set(&mut self, value: T) -> Option<NodeId> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  55 |     pub fn find(&self, id: NodeId) -> NodeId {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     fn set_parent(&self, node_idx: NodeId, parent_idx: NodeId) {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  74 |     fn get_node_rank(&self, id: NodeId) -> NodeId {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |     fn set_rank(&mut self, id: NodeId, rank: NodeId) {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  87 |     fn rank(&self, id: NodeId) -> NodeId {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn union(&mut self, x_id: NodeId, y_id: NodeId) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn get(&self, id: NodeId) -> &T {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nd`
[INFO] [stdout]   --> src/main.rs:40:24
[INFO] [stdout]    |
[INFO] [stdout] 40 |             .map(|(id, nd)| id)
[INFO] [stdout]    |                        ^^ help: if this is intentional, prefix it with an underscore: `_nd`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_rank` is never used
[INFO] [stdout]   --> src/main.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T: Eq + Clone> Node<T> {
[INFO] [stdout]    | --------------------------- method in this implementation
[INFO] [stdout] 16 |     pub fn set_rank(&mut self, rank: usize) {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_node_rank` is never used
[INFO] [stdout]   --> src/main.rs:74:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | impl<T: Eq + Clone> UnionFind<T> {
[INFO] [stdout]    | -------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 74 |     fn get_node_rank(&self, id: NodeId) -> NodeId {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] running `Command { std: "docker" "inspect" "fca4da392d002d179a71ae3788ef1577aea55c23cb9e65095f23c5fccb2b4d4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fca4da392d002d179a71ae3788ef1577aea55c23cb9e65095f23c5fccb2b4d4a", kill_on_drop: false }`
[INFO] [stdout] fca4da392d002d179a71ae3788ef1577aea55c23cb9e65095f23c5fccb2b4d4a
